<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>在线人数列表</title>
  </head>
  
  <body>
    <table>
    	<tr>
    		<th>序号</th>
    		<th>姓名</th>
    	</tr>
    	<c:forEach items="${onlineUserList }" var="user"  varStatus="varsta">
    		<tr>
    			<td>${varsta.count }</td>
    			<td>${user }</td>
    		</tr>
    	</c:forEach>
    </table>
  </body>
</html>
